home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / !SYNTAX.TXT < prev    next >
Text File  |  1995-05-29  |  4KB  |  107 lines

  1. ===========                                         DISview [518]
  2. !SYNTAX.TXT
  3. ===========
  4.  
  5.  
  6. Command Syntax
  7. --------------
  8. KA9Q NET commands are given in the following notation:
  9.  
  10.     command
  11.     command literalparameter
  12.     command subcommand <parameter>
  13.     command [<optionalparameter>]
  14.     command a | b
  15.  
  16. A summary of the NET command set is included in the "DISview"
  17. file !CMDSET.TXT
  18.  
  19. Many commands take subcommands or parameters, which may be
  20. optional or required.  In general, if a required subcommand or
  21. parameter is omitted, an error message will summarize the
  22. available subcommands or required parameters.
  23.  
  24. Giving a '?' in place of the subcommand will also generate the
  25. message.  This is useful when the command word alone is a valid
  26. command.
  27.  
  28. If a command takes an optional value parameter, issuing the
  29. command without the parameter generally displays the current
  30. value of the variable.  Exceptions to this rule are noted in the
  31. individual command descriptions.
  32.  
  33. Two or more parameters separated by vertical bar(s) denote a
  34. choice between the specified values.  Optional parameters are
  35. shown enclosed in [brackets], and a parameter enclosed in <angle
  36. brackets> should be replaced with an actual value or string.
  37.  
  38. All commands and many subcommands may be abbreviated.  You only
  39. need type enough of a command's name to distinguish it from
  40. others that begin with the same string of letters.  Parameters,
  41. however, must be typed in full.
  42.  
  43. Certain FTP subcommands (e.g. put, get, dir, etc) are recognized
  44. only in converse mode with the appropriate FTP session; they are
  45. not recognized in command mode.
  46.  
  47. Entering a CR (empty line) while in command mode puts you in
  48. converse mode with the current session.  If there is no current
  49. session, NET remains in command mode.
  50.  
  51.  
  52. Console Modes
  53. -------------
  54. The console may be in one of two modes: command mode and converse
  55. mode.
  56.  
  57. In command mode, the prompt "net>" is displayed and any of the
  58. commands described in "DISview" may be entered.
  59.  
  60. In converse mode, keyboard input is processed according to the
  61. current session.
  62.  
  63. Sessions come in many types, including Telnet, FTP, Ping, More,
  64. Hop and Tip.
  65.  
  66. In a Telnet or Tip session, keyboard input is sent to the remote 
  67. system and any output from the remote system is displayed on the
  68. console.
  69.  
  70. In an FTP session, keyboard input is first examined to see if it
  71. is a known local command.  If so it is executed locally.  If not,
  72. it is "passed through" to the remote FTP server.  (See the 'ftp'
  73. command).
  74.  
  75. In a Ping session the user may test the path to a remote site,
  76. and in a More session, the user may examine a local file.  A
  77. Hop session is used to trace the path taken by packets to reach
  78. a specified destination.
  79.  
  80. The keyboard also has "cooked" and "raw" states.  In cooked
  81. state, input is line-at-a-time; the user may use the line editing
  82. characters ^U, ^R and backspace to erase the line, redisplay the
  83. line and erase the last character, respectively.  Hitting either
  84. CR or LF passes the complete line to the application.
  85.  
  86. In raw state, each character is immediately passed to the
  87. application as it is typed.
  88.  
  89. The keyboard is always in cooked state in command mode.  It is
  90. also cooked in converse mode on an FTP session.  In a Telnet 
  91. session it depends on whether the remote end has issued (and
  92. the local end has accepted) the Telnet WILL ECHO option (see 
  93. the 'echo' command).
  94.  
  95. On the IBM PC, the user may escape back to command mode by
  96. hitting the F10 key.  The escape character can be changed (see 
  97. the 'escape' command).
  98.  
  99. In the IBM PC version, each session (including the command
  100. 'session') has its own screen.  When a new session is created,
  101. the command display is saved in memory and the screen is cleared.
  102. When the command escape key (usually F10) is hit, the current
  103. session screen is saved and the command screen is restored.  When
  104. a session is resumed, its screen is restored exactly as it
  105. appeared when it was last current.
  106.  
  107.